package com.epichust.bootumpp.service.impl;

import com.epichust.bootumpp.model.bo.Umpp5TaskOrderBO;
import com.epichust.bootumpp.model.dao.Umpp5TaskOrderDao;
import com.epichust.bootumpp.service.IUmpp5TaskOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author ：longyang
 * @date ：Created in 2020/12/30 10:40
 * @description：计划派工单service层
 */
@Service
@Transactional
public class Umpp5TaskOrderServiceImpl implements IUmpp5TaskOrderService {

    @Autowired
    private Umpp5TaskOrderDao umpp5TaskOrderDao;

    @Override
    public List<Umpp5TaskOrderBO> getAllUmpp5TaskOrder(Map<String,String> map) throws Exception {
        List<Umpp5TaskOrderBO> list = umpp5TaskOrderDao.getAllUmpp5TaskOrder(map);
        return list;
    }
}
